package com.extrace.server.mapstruct;

import com.extrace.server.dto.ExpressDTO;
import com.extrace.server.dto.TransnodeDTO;
import com.extrace.server.dto.TranspackageDTO;
import com.extrace.server.pojo.Express;
import com.extrace.server.pojo.Transnode;
import com.extrace.server.pojo.Transpackage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface TransnodeConvert {
    TransnodeConvert INSTANCE = Mappers.getMapper(TransnodeConvert.class);
    TransnodeDTO po2dto(Transnode transnode);

    List<TransnodeDTO> pos2dtos(List<Transnode> transnodes);
}
